package com.example.backend_422.records;

import org.springframework.web.multipart.MultipartFile;

/**
 * 房屋信息的记录类，用于接收前端传来的数据
 * @param houseName
 * @param address
 * @param pic
 * @param description
 * @param status
 * @param rentPrice
 * @param powerPrice
 * @param waterPrice
 * @param area
 * @param landlordName
 * @param landlordPhone
 * @param landlordId
 */
public record HouseRecord(String houseName, String address,
                          MultipartFile pic, String description, String status,
                          String rentPrice, String powerPrice, String waterPrice,
                          String area, String landlordName, String landlordPhone,Integer landlordId) {

}
